package com.cakemallproject.pojo.mapperObj;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart {
    private Integer cid;
    private Integer uid;
    private Integer gid;
    private Integer num;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer status;

    @Override
    public String toString() {
        return "Cart{" +
                "cid=" + cid +
                ", uid=" + uid +
                ", gid=" + gid +
                ", num=" + num +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", status=" + status +
                '}';
    }
}
